package com.redoor.app.stake.auth.service;

import com.redoor.app.stake.auth.model.BaseMenu;

import java.util.List;

/**
 * Created by zhangYiHang on 2018/4/12.
 */
public interface BaseMenuRedisService {

    /**
     * 添加或更新菜单数据对象
     * @Author zhangYiHang
     * @Date 2018/4/12 21:18
     * @param list
     */
    boolean insertMenuToRedis(List<BaseMenu> list);

    /**
     * 根据菜单的parentUuid 查找结果
     * @Author zhangYiHang
     * @Date 2018/4/12 21:18
     * @Param
     */
    String getBaseMenuFromRedis(String name);
}
